Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

port position test to scalar #9128

Merged
merged 3 commits into from
Feb 8, 2024
Merged

port position test to scalar #9128

merged 3 commits into from
Feb 8, 2024

Conversation

Lordworms
Copy link
Contributor

Which issue does this PR close?

Closes #.

Rationale for this change

modify for #8922

What changes are included in this PR?

Are these changes tested?

Are there any user-facing changes?

@github-actions github-actions bot added the sqllogictest SQL Logic Tests (.slt) label Feb 5, 2024
Copy link
Member

@Weijun-H Weijun-H left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Thanks @Lordworms . Could you delete position.slt?

@Lordworms
Copy link
Contributor Author

sure

Copy link
Contributor

@comphead comphead left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice, thanks @Lordworms
Since touching that, may I ask you to add tests with nulls and bad scenarios

select position(null in null)

select position('' in '')

select position(1 in 1)

and different other combinations in this direction

@Lordworms
Copy link
Contributor Author

sure

Copy link
Contributor

@alamb alamb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you very much @Lordworms and @Weijun-H !

@alamb alamb dismissed comphead’s stale review February 8, 2024 13:20

I think the changes are addressed

@alamb
Copy link
Contributor

alamb commented Feb 8, 2024

@comphead let us know what you think of this PR and if it is ready to merge

@comphead comphead merged commit e578337 into apache:main Feb 8, 2024
22 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
sqllogictest SQL Logic Tests (.slt)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants